﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Search.aspx.vb" MasterPageFile="~/Site1.Master" Inherits="AFSWebSiteTry1.WebForm2" %>

<asp:Content runat="server" ID="SearchContent" ContentPlaceHolderID="ContentPlaceHolder1">
    <section>
      <div>
         <table>
            <tr>
                <td>Datum:</td>
                <th>
                    <asp:TextBox ID="Datum" runat="server"></asp:TextBox>
                </th>
               
            </tr>
            <tr>
                <td>Rayon:</td>
                <th>
                    <asp:TextBox ID="Rayon" runat="server"></asp:TextBox>
                </th>
            </tr>

            <tr>
              <td>Arbeitszeit:</td>
                <th>
                   <asp:Table runat="server">
                       <asp:TableRow>
                           <asp:TableCell>
                                <asp:DropDownList ID="DropDownList1" runat="server">
                                <asp:listitem>GT</asp:listitem>
                                <asp:listitem>VM</asp:listitem>
                                <asp:listitem>NM</asp:listitem>
                    </asp:DropDownList>
                           </asp:TableCell>
                           <asp:TableCell>
                               <asp:CheckBox ID="UseInSearchCB" Text="use in search" runat="server" />
                           </asp:TableCell>
                       </asp:TableRow>
                   </asp:Table>
                   
                </th>
            </tr>

            <tr>
                <td>StVo:</td>
                <th>
                    <asp:TextBox ID="StVo" runat="server"></asp:TextBox>
                </th>
            </tr>
            <tr>
                <td>Pg:</td>
                <th>
                    <asp:TextBox ID="Pg" runat="server"></asp:TextBox>
                </th>
            </tr>
             <tr>
                 <td>
                     <asp:Label runat="server"><%= TypeOff%></asp:Label>
                 </td>
                 <th>
                     <asp:TextBox ID="Ges" runat="server"></asp:TextBox>
                 </th>
             </tr>
        </table> 
          <asp:Button runat="server" Text="search" OnClick="Unnamed_Click"></asp:Button>
          <br />
          
          
             <asp:DataList ID="DataList1" runat="server"  OnEditCommand="DataList1_EditCommand">
               <ItemTemplate>
                 <asp:Table runat="server">
                     
                     <asp:TableHeaderRow id="Table1HeaderRow" BackColor="LightBlue"   runat="server">
            <asp:TableHeaderCell 
                Scope="Column" 
                Text="Datum" />
            <asp:TableHeaderCell  
                Scope="Column" 
                Text="Type" />
            <asp:TableHeaderCell 
                Scope="Row"
                Text="Summe" />
        </asp:TableHeaderRow>    
                     <asp:TableRow>    
                   <asp:TableCell>
                             <asp:Label id="Label6" runat="server" Enabled="true" Text='<%# DataBinder.Eval(Container.DataItem, "Datum") %>'></asp:Label>
                   </asp:TableCell>
                         <asp:TableCell>
                                   <asp:Label id="Label1" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Type") %>'></asp:Label>
                         </asp:TableCell>
                         <asp:TableCell>
                             <asp:Label id="Label4" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Gesamt") %>'></asp:Label>
                         </asp:TableCell>
                     </asp:TableRow>
                     <%--<asp:TableRow runat="server">
                        <<asp:TableCell Text="Datum" AssociatedHeaderCellID="C11">
                             <asp:Label id="Label6" runat="server" Enabled="true" Text='<%# DataBinder.Eval(Container.DataItem, "Datum") %>'></asp:Label>
                         </asp:TableCell>
                         <asp:TableCell>
                              <asp:Label id="Label1" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Type") %>'></asp:Label>
                         </asp:TableCell>
                         <asp:TableCell>
                           <asp:Label id="Label4" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Gesamt") %>'></asp:Label>
                         </asp:TableCell>

                     </asp:TableRow>--%>
                 </asp:Table>
<%--<div>
                     <asp:Label id="Label6" runat="server" Enabled="true" Text='<%# DataBinder.Eval(Container.DataItem, "Datum") %>'></asp:Label>
                     <asp:Label id="Label1" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Type") %>'></asp:Label>
                     <asp:Label id="Label3A" runat="server" Text="   "></asp:Label>
                     <asp:Label id="Label2" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Gesamt") %>'></asp:Label>
     </div>--%>
              </ItemTemplate>
          </asp:DataList>  

      </div>
    </section>
</asp:Content>
